<include file="head" />
<script type="text/javascript">
$(function(){
	$(".zftoptab span:first").addClass("hover");
	$(".cnt:first").show();
	$(".zftoptab span").each(function(index, element) {
		$(this).click(function(){
			$(this).addClass("hover").siblings().removeClass("hover");	
			$(".zfcontent .cnt:eq("+index+")").show().siblings().hide();
		})
        
    });	
	
	$(".textlist li").each(function(index, element) {
        if($.trim($(this).find("label").html())==""){
			$(this).find("label").css({"height":"auto"});
		}
    });
})
</script>
<style>
.zftoptab{padding:0px 15px; background-color:#fff; overflow:hidden; font-size:14px; border-bottom:solid 1px #ccc;}
.zftoptab span{display:block; float:left; width:25%; text-align:center; line-height:32px; cursor:pointer; height: 32px;}
.cnt{display:none;}
.zftoptab span.hover{border-bottom:solid 2px #e71d19; color:#e71d19;}
.videolist a{display:block; clear:both; overflow:hidden; background-color:#fff; margin-top:5px; font-size:14px; text-align:center; line-height:24px; position:relative; margin-bottom:3px;}
.videolist a *{display:block;}
.videolist a img{width:100%;}
.videolist a b{position:absolute; top:32%; left:44%; width:50px; height:50px; overflow:hidden; background:url(__IMG__/vplay.png) no-repeat top center; background-size:contain;}
.videolist span{padding:5px 0px; text-align:center; display:block; padding-top:2px; font-size:14px;}
.textlist{background-color:#fff; padding-top:5px;}
.textlist li{margin:0px 10px; margin-top:6px; clear:both; overflow:hidden; margin-bottom:10px; border-bottom:solid 1px #ccc; padding-bottom:10px;}
.textlist li span{display:block; float:left; overflow:hidden;}
.textlist li span.timg{width:25%;}
.textlist li span.ttxt{width:73%; float:right;}
.textlist li span.timg img{width:100%;}
.textlist li span.ttxt *{display:block; clear:both; color:#333;}
.textlist li span.ttxt h3{font-size:14px; font-weight:normal; line-height:20px; height:20px; overflow:hidden; color:#4d4d4d; font-weight:bold;}
.textlist li span.ttxt time{font-size:12px; color:#666;}
.textlist li span.ttxt label{font-size:12px; color:#666; height:36px; overflow:hidden;}
.textlist li:last-child{border-bottom:none; margin-bottom:0px;}
.lxlist{margin-top:0px; background-color:#fff; overflow:hidden;}
.zfbanner img{width:100%;}
.lxlist li{clear:both; overflow:hidden; font-size:14px; padding:0px 10px; line-height:32px; margin-top:5px; margin-bottom:5px;}
.lxlist li *{display:block; float:left;}
.lxlist li label{width:15%;}
.lxlist li .input{width:85%; float:right; border:none; padding:0px 5px; height:24px; margin-top:4px;}
.lxlist li textarea.input{height:auto;}
.lxlist li.tjiao a.submit{display:block; float:none; width:60%; margin:0px auto; background-color:#d72825; border-radius:5px; text-align:center; color:#fff; font-size:15px; height:30px; line-height:28px;}
.lxlist li.lxi{text-align:center; line-height:20px; font-size:14px; color:#aaaaaa; margin-top:12px; padding-bottom:10px;}
.lxlist li.lxi *{display:inline; float:none;}
.head a.hd_icn2 img{margin-top:12px;}
</style>

<!--wrap-->
<assign name='getid' value='$getid'/>
<assign name='shefid' value='$Think.get.shefid'/>
<section class="wrap"> 
  <!--head-->
  <!--<header class="head">
    <h1>{$typeReuslt.typename}</h1>
    <a href="{$home}" class="hd_icn"><img src="__IMG__/leftbak.png" style="vertical-align:middle; margin-bottom:2px;"> 返回<em></em></a>
    <if condition="$Think.cookie.user_userinfo eq ''">
    <a href='http://pay.hrtv.cn/user/chatauth?rurl=http://my.hrtv.cn/Public/login.html?url={$home}' class='hd_icn2'>登录</a>
    <else />
    <a href="http://e.hrtv.cn/uc/user/index" class='hd_icn2'><img style="width: 18px;" src="http://e.hrtv.cn/uc/assets/images/p_personalr.png"></a>
    </if>
  </header>-->
  
   <!--新增-->
   <div class="zftoptab" style='margin-top:0px;'>
   <!-- 1(企业)  2(政府) -->

   <volist name='submenuReuslt' id='submenu' key="k">
   <if condition="($submenu.mparent eq $shefid) and ($submenu.mtypeid eq $getid)">
   <span>{$submenu.mtitle}</span>
   </if>
   </volist>
   </div>
          
   <div class="zfcontent">
   	  <assign name="j" value="1" />
      <volist name='submenuReuslt' id='submenu'>
      <if condition="($submenu.mparent eq $shefid) and ($submenu.mtypeid eq $getid)">
	      <if condition="$j eq 1">
	          <div class="cnt videolist">
	             <volist name='articleReuslt' id='article'>
	             <if condition="$article['menuid'] eq $submenu['id']">
		      	 <a href="{:U('Article/index',array('id'=>$article['id']))}"><img src="{$article.thumbimg}"><b></b></a><span>{$article.title}</span>
		      	 </if>
		         </volist>
		      </div>
		  <else />
		      <div class="cnt textlist">
		      	 <ul>
		      	 	<volist name='articleReuslt' id='article'>
		      	 	<if condition="$article['menuid'] eq $submenu['id']">
		         	 <li>
		             	<a href="{:U('Article/index',array('id'=>$article['id']))}">
		                <span class="timg"><img src="{$article.thumbimg}"></span>
		                <span class="ttxt">
		                	<h3>{$article.title}</h3>
		                    <label>{$article.description}</label>
		                    <time>{$article.pubdate}</time>
		                </span>
		                </a>
		             </li>
		             </if>
		             </volist>
		         </ul>
		      </div>
	      </if>
	      <assign name="j" value="$j+1" />
      </if>
      </volist>

      <!-- <div class="cnt lxlist">
          <div class="zfbanner"><img src="__IMG__/zfbanner.jpg"></div>
          <ul>
          	<li><label>姓名：</label><input type="text" class="input" name="name" placeholder="填写姓名"></li>
            <li><label>电话：</label><input type="text" class="input" name="tel" placeholder="填写联系电话"></li>
            <li><label>详情：</label><textarea name="xqing" class="input" placeholder="请在此描述您需要反馈的问题"></textarea></li>
            <li class="tjiao"><a class="submit">提交</a></li>
            <li class="lxi">电话咨询：010-68888888<br>工作时间：8：00am-20：00pm</li>
          </ul>
      </div> -->
      
   </div>
</section>

<div style="position:fixed; z-index:999; right:20px; bottom:20px; width:50px; height:50px; overflow:hidden"><a href="{$home}"><img src='/IndexPublic/Images/bakhome.png' width="100%"></a></div>
<!--wrap over--> 
<include file="footer" />
</body>
</html>
